<div class="form-group">
    <label class="col-xs-2 control-label">工作状态</label>
    <div class="col-sm-8">
        {ifp 'sgoods.edit'}
        <label for="enabled1" class="radio-inline"><input type="radio" name="isnormal" value="1" id="enabled3" {if !empty($item['isnormal']) && $item['isnormal'] == 1}checked="true"{/if} /> 正常</label>
        &nbsp;&nbsp;&nbsp;
        <label for="enabled1" class="radio-inline"><input type="radio" name="isnormal" value="2" id="enabled4" {if !empty($item['isnormal']) && $item['isnormal'] == 2}checked="true"{/if} /> 忙</label>
        &nbsp;&nbsp;&nbsp;
        <label for="enabled2" class="radio-inline"><input type="radio" name="isnormal" value="0" id="enabled5"  {if empty($item['isnormal']) || $item['isnormal'] == 0}checked="true"{/if} /> 维修</label>
        {else}
            {if $item['status']==0}
                正常
            {elseif $item['stauts']==1}
                正忙
            {else}
                维修
            {/if}
        {/if}
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label">显示状态</label>
    <div class="col-sm-8">
        {ifp 'sgoods.edit'}
        <label class="radio-inline">
            <input type="radio" name="status" value="1" {if $item['status']==1}checked{/if} />是
        </label>
        <label class="radio-inline">
            <input type="radio" name="status" value="0" {if $item['status']==0}checked{/if}/> 否
        </label>
        {else}
        <div class="form-control-static">
            {if $item['status']==0}
            否
            {elseif $item['stauts']==1}
            是
            {/if}
        </div>
        {/if}
    </div>
</div>